package com.easygoods.dao;

import com.easygoods.base.BaseDao;
import com.easygoods.entity.GoodsSpuSpec;
import com.easygoods.response.SpuDetailResponseSpec;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by 许崇雷 on 2019-01-03.
 */
@Repository
public interface GoodsSpuSpecDao extends BaseDao<GoodsSpuSpec> {
    //获取 spu 的规格
    List<SpuDetailResponseSpec> findSpecsBySpuId(@Param("spuId") String spuId);
}
